package cn.jilian.sys.service.support;

import java.util.List;

import cn.jilian.entity.Menu;


public interface MenuLoader {

	Menu getMenu(long id);
	
	List<Menu> getChildren(long id);
	
	void refresh();
	
	void refresh(long id);
	
	List<Menu> getAllTree();
	
	Menu addMenu(Menu menu);
	
	Menu updateMenu(Menu menu);
	
	int delete(long id);
}
